package com.gxa.saas.core.vo;

import lombok.AccessLevel;
import lombok.Data;
import lombok.experimental.FieldDefaults;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @Auther: pengxtao
 * @Date: 2022/7/23下午6:32
 */
@Data
@FieldDefaults(level = AccessLevel.PRIVATE)
public class EditOderVo {

    private String id;
    private String userId;
    @NotBlank(message = "prId不能为空")
    private String prId;
    @NotNull(message = "prNum不能为空")
    private Integer prNum;
    @NotNull(message = "totalPrice不能为空")
    private Double totalPrice;
    @NotNull(message = "prName不能为空")
    private String prName;
    @NotEmpty(message = "speName不能为空")
    /*商品规格*/
    private String speName;
    @NotEmpty(message = "colorName不能为空")
    /*商品颜色*/
    private String colorName;

    /*创建时间*/
    private Date odTime;
    /*订单状态*/
    private Integer status;

    private String oederId;


}
